// import utils from '../../utils/utils'

Page({
  onLoad() {
   this.getNotifyList()
  },

  async getNotifyList() {
    const { code,data:notifylist } = await wx.http.get('/announcement')
    if(code !== 10000) return wx.utils.toast()
    this.setData({notifylist})
  }

})
